package org.codeart.memento.example01;

import lombok.Data;

/**
 * 备忘录类
 */
@Data
public class Memento {

    private String state = "raw object from backup";

    private String id;

    private String name;

    private String phone;

    public Memento() {
        
    }

    public Memento(String id, String name, String phone) {
        this.id = id;
        this.name = name;
        this.phone = phone;
    }
}
